﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.Design;
using System.Windows.Forms;

namespace CXMLStudioIDE.DesignerHost
{
    public class MyDesignerVerb : DesignerVerb
    {
        private Control _Control;
        private Type _NewType;

        public Type NewType
        {
            get { return _NewType; }
            set { _NewType = value; }
        }

        public Control Control
        {
            get { return _Control; }
            set { _Control = value; }
        }

        public MyDesignerVerb(string text, EventHandler handler,Control c,Type newtype) : base(text,handler)
        {
            _Control = c;
            _NewType = newtype;
        }
    }
}
